#ifndef _FIG_EXPLODING_COLLECTION_H_
#define _FIG_EXPLODING_COLLECTION_H_

#include "fig_exploding.h"
#include "ui/ui_manager.h"




class FIGExplodingCollection
{
public:

	

	FIGExplodingCollection(FIGExploding::EXPLODING_TYPES Type );
	~FIGExplodingCollection();

	void					Render(const math::Vec2& Offset,float Scale);
	void					RenderDebug(const math::Vec2& Offset,float Scale);
	void					Tick(float dt);


	void					Clear();
	void					Spawn(	const math::Vec2& Pos, 									
									float SizeScale,
									float Roation,
									float Delay
									);
	const FIGExploding::EXPLODING_TYPES		GetType()const { return m_Type; };
	
	

protected:


	FIGExploding::EXPLODING_TYPES			m_Type;
	std::vector<FIGExploding*>				m_Explodings;

};

#endif